package com.tuanzi.loan.web.bean.credit;

import javax.annotation.PostConstruct;
import javax.faces.bean.ViewScoped;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.springframework.stereotype.Component;

import com.tuanzi.loan.core.aspect.Debug;
import com.tuanzi.loan.vo.request.credit.LoanCreditOrderStatRequest;
import com.tuanzi.loan.vo.response.credit.LoanCreditOrderStatResponse;
import com.tuanzi.loan.web.configuration.JSFListingBean;
import com.tuanzi.loan.web.lazy.credit.LoanCreditOrderStatLazyDataModel;

/**
 * 征信订单统计后台
 * @author chenweijun 2018/03/18
 *
 */

@Data
@Debug
@Component
@ViewScoped
@EqualsAndHashCode(callSuper = true)
public class LoanCreditOrderStatBean extends JSFListingBean<LoanCreditOrderStatRequest, LoanCreditOrderStatResponse> {
	
	private static final long serialVersionUID = -1712051406766698024L;
	
	@PostConstruct
	private void init() {
		initLazyDataModel();
	}
	
	private void initLazyDataModel() {
		$ = new LoanCreditOrderStatRequest();
		lazyDataModel = new LoanCreditOrderStatLazyDataModel($);
	}

}
